package com.yenlien.traceyun.usercenter.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-03-13
 * @description:企业绑定应用
 **/

@Entity
@Table(name = "t_company_customapp_version")
public class CompanyCustomAppVersion extends BaseEntity {

    //企业id
    @Column(name = "company_id")
    private String companyId;

    //隶属
    @Column(name = "parent_company_id", length = 32)
    private String parentCompanyId;

    //隶属
    @Column(name = "parent_company_name", length = 32)
    private String parentCompanyName;

    //应用id
    @Column(name = "app_id", length = 32)
    private String appId;

    //版本应用Id
    @Column(name = "custom_app_version_id")
    private String customAppVersionId;

    @Column(name = "custom_app_name", length = 50)
    private String customAppName;

    @Column(name = "custom_app_Id", length = 50)
    private String customAppId;

    @Column(name = "custom_app_version_name", length = 50)
    private String customAppVersionName;

    //有效期
    @Column(name = "expiretime", length = 30)
    private String expiretime;

    //有效期结束
    @Column(name = "expiretime_end", length = 30)
    private String expiretimeEnd;

    //企业个数
    @Column(name = "company_num")
    private int companyNum;

    //品种个数（0无限个）
    @Column(name = "model_num")
    private int modelNum;


    /**
     * 使用范围
     */
    @Column(name = "address")
    private String address;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCustomAppVersionId() {
        return customAppVersionId;
    }

    public void setCustomAppVersionId(String customAppVersionId) {
        this.customAppVersionId = customAppVersionId;
    }


    public int getCompanyNum() {
        return companyNum;
    }

    public void setCompanyNum(int companyNum) {
        this.companyNum = companyNum;
    }

    public int getModelNum() {
        return modelNum;
    }

    public void setModelNum(int modelNum) {
        this.modelNum = modelNum;
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCustomAppName() {
        return customAppName;
    }

    public void setCustomAppName(String customAppName) {
        this.customAppName = customAppName;
    }

    public String getCustomAppVersionName() {
        return customAppVersionName;
    }

    public void setCustomAppVersionName(String customAppVersionName) {
        this.customAppVersionName = customAppVersionName;
    }

    public String getParentCompanyId() {
        return parentCompanyId;
    }

    public void setParentCompanyId(String parentCompanyId) {
        this.parentCompanyId = parentCompanyId;
    }

    public String getParentCompanyName() {
        return parentCompanyName;
    }

    public void setParentCompanyName(String parentCompanyName) {
        this.parentCompanyName = parentCompanyName;
    }

    public String getCustomAppId() {
        return customAppId;
    }

    public void setCustomAppId(String customAppId) {
        this.customAppId = customAppId;
    }

    public String getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(String expiretime) {
        this.expiretime = expiretime;
    }

    public String getExpiretimeEnd() {
        return expiretimeEnd;
    }

    public void setExpiretimeEnd(String expiretimeEnd) {
        this.expiretimeEnd = expiretimeEnd;
    }
}
